package com.xnxy.design.service;

import com.xnxy.design.mapper.CoreMapper;
import com.xnxy.design.mapper.NewsMapper;
import com.xnxy.design.model.News;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NewsService extends CoreService<News,Integer>{

    @Autowired
    NewsMapper newsMapper;

    @Override
    public CoreMapper<News, Integer> getMapper() {
        return newsMapper;
    }
}
